package Jogo;

import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.JFrame;

public class Janela extends JFrame{

    public Janela() {
	Toolkit tk = Toolkit.getDefaultToolkit();
	Dimension d = tk.getScreenSize();
        
        add(new Missao());
	setTitle("Os Invasores do Espaço");
	setVisible(true);
	setSize(800, 600);
	setLocation(d.width / 5, d.height / 8);
	setResizable(false);
	setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
    
    public static void main(String[] args) {
        new Janela();
    }
}
